		<aside id="sidebar">
			<strong class="logo"><a href="#">lg</a></strong>
			<ul class="tabset buttons">
				<li <?php if ($page == "main") echo 'class="active"'; ?>>
					<a href="/phpdb/index.php" class="ico1"><span>首页</span><em></em></a>
					<span class="tooltip"><span>首页</span></span>
				</li>
				<li <?php if ($page == "user") echo 'class="active"'; ?>>
					<a href="/phpdb/index.php/user" class="ico2"><span>用户管理</span><em></em></a>
					<span class="tooltip"><span>用户管理</span></span>
				</li>
				<li <?php if ($page == "contract") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/contract" class="ico3"><span>合同管理</span><em></em></a>
					<span class="tooltip"><span>合同管理</span></span>
				</li>
        
        <li <?php if ($page == "invoice") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/invoice" class="ico4"><span>发票管理</span><em></em></a>
					<span class="tooltip"><span>发票管理</span></span>
				</li>
        <li <?php if ($page == "free") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/free" class="ico5"><span>免税管理</span><em></em></a>
					<span class="tooltip"><span>免税管理</span></span>
				</li>
        <li <?php if ($page == "achievement") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/achievement" class="ico6"><span>成果管理</span><em></em></a>
					<span class="tooltip"><span>成果管理</span></span>
				</li>
        <li <?php if ($page == "msgpage") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/msgpage" class="ico7"><span>消息</span><em></em></a>
                    <?php if ( $unreadAmt > 0) echo '<span class="num">'.$unreadAmt.'</span>'; ?>
					<span class="tooltip"><span>消息</span></span>
				</li>
        <li <?php if ($page == "reports") echo 'class="active"'; ?> >
					<a href="/phpdb/index.php/reports" class="ico8"><span>报表统计</span><em></em></a>
					<span class="tooltip"><span>报表统计</span></span>
				</li>
        
				
				
			</ul>
			<span class="shadow"></span>
		</aside>
